package com.aaa.mbs.service.impl;

import com.aaa.common.bo.Order;
import com.aaa.mbs.service.OrderService;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * fileName:OrderFallbackServiceImpl
 * description:
 * author: Mr.Ge
 * createTime:2020/11/20 9:06
 * version:1.0.0
 */
@Component
public class OrderFallbackServiceImpl implements OrderService {
    @Override
    public List<Order> queryOrderList(Order order) {
        List<Order> orders = new ArrayList<>();
        Order rorder = new Order();
        rorder.setId(44444);
        rorder.setMemberUsername("远程服务器故障，请稍后重试。。。");
        orders.add(rorder);
        return orders;
    }
}
